package com.csap.framework.apidoc.test.model;

import com.csap.framework.annotation.apidoc.ApiModel;
import com.csap.framework.annotation.apidoc.ApiModelProperty;
import com.csap.framework.annotation.apidoc.Group;
import com.csap.framework.annotation.apidoc.Request;
import com.csap.framework.annotation.apidoc.Response;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author yangchengfu
 * @description
 * @dataTime 2021年-01月-25日 19:40:00
 **/
@ApiModel(value = "测试supper Bean", description = "一个测试Bean")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SupperBean {
    @ApiModelProperty(value = "名称", groups = {
            @Group(value = "query"),
            @Group(value = "authorization", response = @Response, request = @Request(required = true))
    })
    @NotNull
    private String name2;
}
